﻿using System.Threading.Tasks;
using JX.Core;
using JX.Core.Entity;

namespace JX.Application
{
	/// <summary>
	/// 商品管理服务层接口
	/// </summary>
	public partial interface ICommonProductServiceAppDapper : IServiceAppDapper<CommonProductEntity>
	{
		#region 是否存在数据
		/// <summary>
		/// 判断目标商品类型中是否包含指定源商品类型
		/// </summary>
		/// <param name="target">目标商品类型</param>
		/// <param name="source">源商品类型</param>
		/// <returns></returns>
		bool CharacterIsExists(ProductCharacter target, ProductCharacter source);
		#endregion
	}
}